/**
 *
 */
package com.jycode.commons.dao;

import java.util.List;

import com.jycode.commons.genericdao.GenericDAO2;
import com.jycode.commons.model.SysRole;

/**
 * @author "banlyst <banlyst@gmail.com>"
 *
 */
public interface SysRoleDAO extends GenericDAO2<SysRole, Long> {

	public abstract SysRole findByName(String name);

	public abstract List<SysRole> findByParentRoleId(Long parentId);

}
